package com.system.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
public class Purchase {
    private Integer id;

    private Integer storeAdminId;
    
    private SysUser sysUser;

    private Integer productId;
    
    private Product product;

    private Integer count;

    private Double purchasePrice;

    private String purchaseNum;

    private Integer invoiceId;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date purchaseTime;

    private Boolean status;

   
}